Skip to content

Conversation

1Nigar357
Copy link

In the train and evaluate functions, the input parameters are not used in any part of the code. Instead, the places where the input parameters need to be used, the values have been hardcoded. Therefore, the user might pass wrong parameters to the function and the code would still function properly. To avoid this, I removed the hardcoded values and made use of the input value for the train and evaluate functions. I made changes to both the MNIST task and solution files.

Correction: Make use of input parameters instead of hardcoding
Correction: Manipulate the input parameters to the functions instead of hardcoding
Change the input parameter of the evaluate function from trainset_loader to testset_loader
@1Nigar357
Copy link
Author

@aamini @avaamini Please let me know if there are any changes that should be made. Also, thank you for the course. I came across this issue while working through it. I'm really enjoying learning from the course and solving these guided tasks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant